<{counter start=1 assign="result" print=false }>
<div class="LinkList">
    <table>
      <{foreach from=$data item=data key=key}>
      <{if ($result mod $setting.colums) eq 1}>
        <tr>
            <td>
                <a href="<{$data.href}>" target="_blank">
                <{if $setting.showPic=='show' && $data.image_url}>
                    <img height="<{$setting.img_height}>" width="<{$setting.img_width}>" src="<{$data.image_url|storager}>">
                <{/if}>
                <{$data.link_name}>
                </a>
            </td>
            <{elseif ($result mod $setting.colums) eq 0}>
            <td>
                <a href="<{$data.href}>" target="_blank">
                <{if $setting.showPic=='show' && $data.image_url}>
                <img height="<{$setting.img_height}>" width="<{$setting.img_width}>" src="<{$data.image_url|storager}>">
                <{/if}>
                <{$data.link_name}>
                </a>
            </td>
        </tr>
        <{else}>
          <td>
            <a href="<{$data.href}>" target="_blank">
            <{if $setting.showPic=='show' && $data.image_url}>
            <img height="<{$setting.img_height}>" width="<{$setting.img_width}>" src="<{$data.image_url|storager}>">
            <{/if}><{$data.link_name}>
            </a>
          </td>
      <{/if}>
    <{counter assign="result" print=false }>
    <{/foreach}>
    </table>

</div>